import turtle


n = 1
while n < 23:
    if n == 22:
        turtle.forward(100)
    else:
        turtle.forward(n*10)
        turtle.right(90)
    n+=1
turtle.done()